<?php

require_once 'Octopus/Game/Mocks/MockDatabaseRockWith2PlayersArround.php';

class RockGameWith2PlayersArroundTest extends PHPUnit_Framework_TestCase {
	
	public function setUp() {
		$mockDatabase = new MockDatabaseRockWith2PlayersArround() ;
		OPPlayer::setDatabase($mockDatabase);
		
		$this->position = OPPosition::newWithLatitudeLongitude(1, 1);
		$this->rock		= OPRock::newWithPositionAndANumberOfPlayersToMove($this->position, 2);
		
	
	}
	
	/**
	 * @test
	 */
	public function rockCanMove() {
		$this->assertTrue($this->rock->canMove());
		
	}
	
}